This worked great! <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />But I need showflat.php and showthreaded.php to use this only on specified forums using separate tmplīs. All the other forums should work as normal.<br /><br />Like this:<br /><br />I have duplicated showthreaded.tmpl, showflat.tmpl and postlist.tmpl. <br /><br />The duplicates are renamed to showthreadedhard.tmpl, showflathard.tmpl and postlisthard.tmpl. <br /><br />In these files Iīve made my changes and then uploaded the files to templates/default.<br /><br />In postlist.php, showflat.php and showthreaded.php Iīve done this (based on
this mod. ):<br /><br />Iīve changed this in postlist.php:<br /><pre><font class="small">code:</font><hr><br /> include ("$thispath/templates/$tempstyle/postlist.tmpl"); <br /></pre><hr><br /><br />to this<br /><pre><font class="small">code:</font><hr><br />if ($Board == "supertest") {<br /> include ("$thispath/templates/$tempstyle/postlisthard.tmpl");<br />}<br />else {<br /> include ("$thispath/templates/$tempstyle/postlist.tmpl"); <br />} <br /><br /><br /> </pre><hr> <br />Iīve done the same in showflat.php and showthreaded.php, but with links to their specific templates, of course.<br /><br /><br />Later on, when the supertest forum is complete and ready for launch, I will change this:<br /><br /><pre><font class="small">code:</font><hr> <br />if ($Board == "supertest") {<br /><br /></pre><hr> <br />to this<br /> <pre><font class="small">code:</font><hr> <br />if ($Board == "supertest" or $Board == "specialforum1" or $Board == "specialforum2" or $Board == "specialforum3") { <br /></pre><hr> <br /><br />Supertest is my development forum, with admin only access. specialforum1, 2, 3, 4 etc is the not yet created forums that will use these modified features. There will be at least 15 of these special forums at the launch. All other forums will work as normal.<br /><br />Is it possible to ad something like the change Iīve done in postlist.php, showlist.php and showthreaded.php, but instead of telling the x.php file what tmplīs to use it states what link, PM or Reply, that should be used if the forum is a normal or modified one?